<?php

/** @var \Illuminate\Database\Eloquent\Factory $factory */

use App\Model;
use Faker\Generator as Faker;

$factory->define(\App\Models\Good::class, function (Faker $faker) {
    return [
        'admin_user_id' => 1,
        'name' => $faker->name,
        'u_unit_price' => $faker->numberBetween(1000, 99999),
        'x_unit_price' => $faker->numberBetween(1000, 99999),
        'sold_parts' => $faker->numberBetween(1, 1000),
        'big_image' => $faker->imageUrl(375, 200),
        'small_image' => $faker->imageUrl(87, 87),
        'content' => $faker->paragraph
    ];
});
